<?php /* Smarty version 2.6.2, created on 2011-09-17 23:57:13
         compiled from newlistings_box.tpl */ ?>
<div class="box1 Box1Style2"><span class="Box1Text">New Listings:&nbsp;&nbsp;&nbsp;<img src="images/new.gif"></span></div>
<div class="box2">
	<table cellpadding="3" width="100%" cellspacing="0" border="0" >
		<?php if (isset($this->_sections['l'])) unset($this->_sections['l']);
$this->_sections['l']['name'] = 'l';
$this->_sections['l']['loop'] = is_array($_loop=$this->_tpl_vars['new_listings']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['l']['show'] = true;
$this->_sections['l']['max'] = $this->_sections['l']['loop'];
$this->_sections['l']['step'] = 1;
$this->_sections['l']['start'] = $this->_sections['l']['step'] > 0 ? 0 : $this->_sections['l']['loop']-1;
if ($this->_sections['l']['show']) {
    $this->_sections['l']['total'] = $this->_sections['l']['loop'];
    if ($this->_sections['l']['total'] == 0)
        $this->_sections['l']['show'] = false;
} else
    $this->_sections['l']['total'] = 0;
if ($this->_sections['l']['show']):

            for ($this->_sections['l']['index'] = $this->_sections['l']['start'], $this->_sections['l']['iteration'] = 1;
                 $this->_sections['l']['iteration'] <= $this->_sections['l']['total'];
                 $this->_sections['l']['index'] += $this->_sections['l']['step'], $this->_sections['l']['iteration']++):
$this->_sections['l']['rownum'] = $this->_sections['l']['iteration'];
$this->_sections['l']['index_prev'] = $this->_sections['l']['index'] - $this->_sections['l']['step'];
$this->_sections['l']['index_next'] = $this->_sections['l']['index'] + $this->_sections['l']['step'];
$this->_sections['l']['first']      = ($this->_sections['l']['iteration'] == 1);
$this->_sections['l']['last']       = ($this->_sections['l']['iteration'] == $this->_sections['l']['total']);
?> 
			<?php if ($this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['data_type'] == 'date'): ?>
			<tr>
				<td colspan="2"><small><?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['date']; ?>
</small> </td>
			</tr>
			<?php else: ?>
			<tr>
				<td ><img src="images/bullet4.jpg"></td>
				<td align=left>
					<a href="?a=go&lid=<?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['id']; ?>
" target=_blank class="text_in_box"> 
						<?php echo $this->_tpl_vars['new_listings'][$this->_sections['l']['index']]['name']; ?>
asassds
					</a>
				</td>
			</tr>
			<?php endif; ?> 
		<?php endfor; endif; ?>
	</table>
</div>
<br>